package com.imooc.dto;

import lombok.Data;

/**
 * FileName: CartDTO.java
 * Description: 购物车
 *
 * @author HuangRI(874668739 @ qq.com)
 * @version 1.0
 * @date 2020/12/17
 */
@Data
public class CartDTO {
    /** 商品ID */
    private String productId;

    /** 商品数量 */
    private Integer productQuantity;

    public CartDTO() {}

    public CartDTO(String productId, Integer productQuantity) {
        this.productId = productId;
        this.productQuantity = productQuantity;
    }
}
